<%--
  Created by IntelliJ IDEA.
  User: Lenovo
  Date: 2021/5/26
  Time: 15:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="./lib/layui-v2.6.7/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="./lib/css/public.css" media="all">
</head>

<body class="loginBody">
<form class="layui-form" name='form1' method="post" action=<%=request.getContextPath()%>/UserServlet>
    <input type="hidden" name="act" value="login" />
    <div class="login_face">
        <img src="./img/R7dad6a78921942499787acfff48f01ea.jpg" height="60px" class="userAvatar">
    </div>
    <div>
        <div class="loginbox-title">登录</div>
        <div class="loginbox-social">
            <div class="social-title">系统</div>
        </div>
        <div class="layui-form-item input-item">
            <label>用户名</label>
            <input type="text" placeholder="请输入用户名" autocomplete="off" name="username" class="layui-input"
                   lay-verify="required" id="username">
        </div>
        <div class="layui-form-item input-item">
            <label>密码</label>
            <input type="password" placeholder="请输入密码" autocomplete="off" name="password" class="layui-input"
                   lay-verify="required" id="password">
        </div>
        <div class="layui-form-item">
            <button class="layui-btn layui-block" lay-submit>登录</button>
        </div>
        <div class="layui-form-item">
                       <a style="text-decoration:underline	;padding-left: 10px;color: #2badce" href="${pageContext.request.contextPath}/html/zhujiemian.jsp">回首页</a>
            <!--<input id="butt" type="button" value="注册" /><br><br><br>-->
        </div>
    </div>
</form>
</body>

<script type="text/javascript" src="./lib/layui.js"></script>
<script type="text/javascript" src="./lib/js/cache.js"></script>
<script type="text/javascript" src="./lib/js/login.js"></script>
</html>
